// 专家排班
import request from '@/utils/request'

export default {
  // 条件分页查询
  queryPageByCondition(params) {
    const url = 'socialized-expert/schedule/queryPageByCondition'
    return request.post(url, params)
  },
  // 添加
  addExpertTypesetting(params) {
    const url = 'socialized-expert/schedule/add'
    return request.post(url, params)
  },
  // 修改
  editExpertTypesetting(params) {
    const url = 'socialized-expert/schedule/edit'
    return request.put(url, params)
  },
  // 删除
  delExpertTypesetting(params, id = '') {
    const url = `socialized-expert/schedule/del?id=${id}`
    return request.delete(url, params)
  },
  queryUserList(params) {
    const url = `socialized-expert/person/queryByCondition`
    return request.post(url, params)
  }

}
